<form method="POST" action="index.php?uc=validerFrais&action=validerFrais">
    
        <select name="id" size="1">
            
                <?php
                foreach ($nomPrenomV as $data) {
                    echo '<option value="' . $data['id'] . '">';
                    echo $data['nom'] . " " . $data['prenom'];
                }
                ?>
        </select>
        <select name="annee" size="1">';
            <?php
            foreach ($tabMois as $unMois) {
                ?>
                <option value='<?php echo $unMois['mois']; ?>'><?php echo $unMois['libelle']; ?></option>
                <?php
            }
            ?>
        </select>

            <input id="ok" type="submit" value="Valider" size="20" />
</form>

